import type { RouteRecordRaw } from "vue-router";
import type { categoryList } from "@/api/product/model/cartgroyselectModel";
import type { AttrValueList } from "@/api/product/model/attrModel";
// 用户信息包括权限数据
export interface UserInfoState {
  token: string;
  avatar: string;
  name: string;
  buttons: string[];
  routes: string[];
  menuRoutes: RouteRecordRaw[]; // 用于生成导航菜单的路由列表
}

export interface userCartgoryState {
  cartgroy1Id: undefined | number;
  cartgroy2Id: undefined | number;
  cartgroy3Id: undefined | number;
  cartgroy1List: categoryList;
  cartgroy2List: categoryList;
  cartgroy3List: categoryList;
  attrAgree: AttrValueList;
  attrValue: string | undefined;
  id?: number | undefined;
}
